FROM openjdk:8u252

# Copy local code to the container image.
ADD api-open-plat-interface-0.0.1-SNAPSHOT.jar api-open-plat-interface.jar

# Run the web service on container startup.
ENTRYPOINT ["java","-Xmx256m","-jar","api-open-plat-interface.jar","--spring.profiles.active=prod"]